
require('./bootstrap/bootstrap');
import router from './router/router'
window.Vue = require('vue');
/**
 * 自定义组件
 */
window.ModelDataSource = require('./libs/ModelDataSource')
Vue.use(ModelDataSource)
window.ListDataSource = require('./libs/ListDataSource')
Vue.use(ListDataSource)
/**
 * Vuex
 */
import store from './store'
import ElementUI from 'element-ui'
Vue.use(ElementUI)
import Calendar from 'vue2-event-calendar'
Vue.component('calendar', Calendar)
Vue.component('app', require('./app.vue'))
const app = new Vue({
  el: '#user-app',
  router: router,
  store: store,
  template: '<app/>'
});